<?php

class tmenu_delete extends SClass {

    public function process() {
       
            try {
          
                ServiceUtils::GetFactory()->getTmenuService()->deleteTmenu(
                        $this->getArgument('id')
                );
                $this->assign('message', 'ok');
                
                
            } catch (Exception $e) {
                $this->assign('message', 'error');
            }
        
    }

}